.class public Lcom/example/m6shop/WaimaiTypeActivity;
.super Landroid/app/Activity;
.source "WaimaiTypeActivity.java"


# static fields
.field public static h:Landroid/os/Handler;

.field public static waimaitype:Lcom/example/m6shop/WaimaiTypeActivity;


# instance fields
.field private gl:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/GoodsTypeBean;",
            ">;"
        }
    .end annotation
.end field

.field private goodstypeid:Ljava/lang/String;

.field m:Lmyapp/MyApp;

.field private mcontext:Landroid/content/Context;

.field public message:Ljava/lang/String;

.field myLoginView:Landroid/view/View;

.field private ordertype:Ljava/lang/String;

.field private tempgl:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/GoodsTypeBean;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 38
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 41
    const-string v0, "wait"

    iput-object v0, p0, Lcom/example/m6shop/WaimaiTypeActivity;->ordertype:Ljava/lang/String;

    .line 43
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6shop/WaimaiTypeActivity;->goodstypeid:Ljava/lang/String;

    .line 46
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/example/m6shop/WaimaiTypeActivity;->m:Lmyapp/MyApp;

    .line 48
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6shop/WaimaiTypeActivity;->message:Ljava/lang/String;

    .line 38
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6shop/WaimaiTypeActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 44
    iget-object v0, p0, Lcom/example/m6shop/WaimaiTypeActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6shop/WaimaiTypeActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 42
    iget-object v0, p0, Lcom/example/m6shop/WaimaiTypeActivity;->gl:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6shop/WaimaiTypeActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 42
    iget-object v0, p0, Lcom/example/m6shop/WaimaiTypeActivity;->tempgl:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$3(Lcom/example/m6shop/WaimaiTypeActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 43
    iput-object p1, p0, Lcom/example/m6shop/WaimaiTypeActivity;->goodstypeid:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$4(Lcom/example/m6shop/WaimaiTypeActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 41
    iget-object v0, p0, Lcom/example/m6shop/WaimaiTypeActivity;->ordertype:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6shop/WaimaiTypeActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 43
    iget-object v0, p0, Lcom/example/m6shop/WaimaiTypeActivity;->goodstypeid:Ljava/lang/String;

    return-object v0
.end method


# virtual methods
.method public deletegoodstype()Z
    .locals 1

    .prologue
    .line 343
    new-instance v0, Lcom/example/m6shop/WaimaiTypeActivity$5;

    invoke-direct {v0, p0}, Lcom/example/m6shop/WaimaiTypeActivity$5;-><init>(Lcom/example/m6shop/WaimaiTypeActivity;)V

    .line 421
    invoke-virtual {v0}, Lcom/example/m6shop/WaimaiTypeActivity$5;->start()V

    .line 422
    const/4 v0, 0x0

    return v0
.end method

.method public getgoodstype()Z
    .locals 1

    .prologue
    .line 261
    new-instance v0, Lcom/example/m6shop/WaimaiTypeActivity$4;

    invoke-direct {v0, p0}, Lcom/example/m6shop/WaimaiTypeActivity$4;-><init>(Lcom/example/m6shop/WaimaiTypeActivity;)V

    .line 338
    invoke-virtual {v0}, Lcom/example/m6shop/WaimaiTypeActivity$4;->start()V

    .line 339
    const/4 v0, 0x0

    return v0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 51
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 52
    const v2, 0x7f03005b

    invoke-virtual {p0, v2}, Lcom/example/m6shop/WaimaiTypeActivity;->setContentView(I)V

    .line 56
    sput-object p0, Lcom/example/m6shop/WaimaiTypeActivity;->waimaitype:Lcom/example/m6shop/WaimaiTypeActivity;

    .line 57
    new-instance v2, Lmyapp/MyApp;

    invoke-direct {v2}, Lmyapp/MyApp;-><init>()V

    iput-object v2, p0, Lcom/example/m6shop/WaimaiTypeActivity;->m:Lmyapp/MyApp;

    .line 58
    iput-object p0, p0, Lcom/example/m6shop/WaimaiTypeActivity;->mcontext:Landroid/content/Context;

    .line 60
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iput-object v2, p0, Lcom/example/m6shop/WaimaiTypeActivity;->gl:Ljava/util/List;

    .line 61
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iput-object v2, p0, Lcom/example/m6shop/WaimaiTypeActivity;->tempgl:Ljava/util/List;

    .line 62
    const v2, 0x7f0700cb

    invoke-virtual {p0, v2}, Lcom/example/m6shop/WaimaiTypeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    .line 63
    .local v1, "back":Landroid/widget/ImageView;
    new-instance v2, Lcom/example/m6shop/WaimaiTypeActivity$1;

    invoke-direct {v2, p0}, Lcom/example/m6shop/WaimaiTypeActivity$1;-><init>(Lcom/example/m6shop/WaimaiTypeActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 74
    const v2, 0x7f070008

    invoke-virtual {p0, v2}, Lcom/example/m6shop/WaimaiTypeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    .line 76
    .local v0, "addgoodstypebtn":Landroid/widget/Button;
    new-instance v2, Lcom/example/m6shop/WaimaiTypeActivity$2;

    invoke-direct {v2, p0}, Lcom/example/m6shop/WaimaiTypeActivity$2;-><init>(Lcom/example/m6shop/WaimaiTypeActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 125
    new-instance v2, Lcom/example/m6shop/WaimaiTypeActivity$3;

    invoke-direct {v2, p0}, Lcom/example/m6shop/WaimaiTypeActivity$3;-><init>(Lcom/example/m6shop/WaimaiTypeActivity;)V

    sput-object v2, Lcom/example/m6shop/WaimaiTypeActivity;->h:Landroid/os/Handler;

    .line 256
    iget-object v2, p0, Lcom/example/m6shop/WaimaiTypeActivity;->mcontext:Landroid/content/Context;

    const-string v3, "\u8bf7\u7a0d\u540e"

    const-string v4, "\u83b7\u53d6\u5546\u54c1\u5206\u7c7b"

    invoke-static {v2, v3, v4}, Lmyclass/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 257
    invoke-virtual {p0}, Lcom/example/m6shop/WaimaiTypeActivity;->getgoodstype()Z

    .line 259
    return-void
.end method

.method public savegoodstype()Z
    .locals 1

    .prologue
    .line 429
    new-instance v0, Lcom/example/m6shop/WaimaiTypeActivity$6;

    invoke-direct {v0, p0}, Lcom/example/m6shop/WaimaiTypeActivity$6;-><init>(Lcom/example/m6shop/WaimaiTypeActivity;)V

    .line 522
    invoke-virtual {v0}, Lcom/example/m6shop/WaimaiTypeActivity$6;->start()V

    .line 523
    const/4 v0, 0x0

    return v0
.end method
